package com.demo.profobuf;

public class SuperClass {
    public static int value = 123;

    static {
        System.out.println("SuperClass init!");
    }
}

class SubClass extends SuperClass {
    static {
        System.out.println("SubClass init!");
    }
}

class NotInitialization {

    public static void main(String[] args) {
//        System.out.println(SubClass.value);
        // SuperClass init!
        SubClass[] superClasses = new SubClass[10];
        superClasses[0] = new SubClass();

    }

}